package com.ruoyi.web.controller.TiebaShares.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分享的表的情况对象 tieba_shares
 *
 * @author ruoyi
 * @date 2025-03-09
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tieba_shares")
@ApiModel(value = "TiebaShares", description = "分享的表的情况实体")
public class TiebaShares extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("")
    private Long id;

    /**  */
    @Excel(name = "")
    @ApiModelProperty("")
    private Long postId;

    /**  */
    @Excel(name = "")
    @ApiModelProperty("")
    private Long userId;

    /**  */
    @Excel(name = "")
    @ApiModelProperty("")
    private Long deptId;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("")
    private Date shareTime;

    /**  */
    @ApiModelProperty("")
    private Integer delFlag;

    /** 分享的用户 */
    @Excel(name = "分享的用户")
    @ApiModelProperty("分享的用户")
    private Long otherUserId;

}
